package tour.general.stage;

import tour.general.BaseActivity;
import tour.general.R;
import android.os.Bundle;
import android.widget.TextView;

public class StageInfo extends BaseActivity {

	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);

		setContentView(R.layout.stage_detail_info);
		initToolbar();

		String description = getIntent().getStringExtra("description");
		String tappa = getIntent().getStringExtra("tappa");

		((TextView) findViewById(R.id.stage_detail_info_text)).setText(description);
		((TextView) findViewById(R.id.stage_detail_info_nome_text)).setText(getResources().getString(R.string.Stage_Lowercase)+" "+tappa);

		if (!tappa.equals("0")) {
			((TextView) findViewById(R.id.stage_detail_info_nome_text)).setText(getResources().getString(R.string.Stage_Lowercase)+" "+tappa);
		} else {
			((TextView) findViewById(R.id.stage_detail_info_nome_text)).setText(getResources().getString(R.string.Stage_Prologue_lowercase));
		}
		
	}

}
